package task;

import master.ChildInterface;
import master.MasterInterface;



public abstract class ChildTask extends Task
{
	public ChildTask(ChildInterface child)
	{
		this.child = child;
	}
	private ChildInterface child;
	private MasterInterface master;
	@Override
	public void updateReference(MasterInterface masterInterface,
			ChildInterface childInterface)
	{
		this.child = childInterface;

	}
	protected ChildInterface getChild() { return child; }

}
